package com.baoteng.rbspy.model.agree;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

@JsonInclude(Include.NON_EMPTY)
public class AgreePO {

	int index;
	Integer serialNo;
	String clauseCode;
	String clauseName;
	String flag;
	String engageFlag = "0";
	String maxCount;
	String clauses;
	String beforeContent;
	String centerContent;
	String afterContent;

	public int getIndex() {
		return serialNo!=null && serialNo>1?serialNo-1:index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public Integer getSerialNo() {
		return serialNo;
	}

	public void setSerialNo(Integer serialNo) {
		this.serialNo = serialNo;
	}

	public String getClauseCode() {
		return clauseCode;
	}

	public void setClauseCode(String clauseCode) {
		this.clauseCode = clauseCode;
	}

	public String getClauseName() {
		return clauseName;
	}

	public void setClauseName(String clauseName) {
		this.clauseName = clauseName;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getEngageFlag() {
		return engageFlag;
	}

	public void setEngageFlag(String engageFlag) {
		this.engageFlag = engageFlag;
	}

	public String getMaxCount() {
		return maxCount;
	}

	public void setMaxCount(String maxCount) {
		this.maxCount = maxCount;
	}

	public String getClauses() {
		return clauses;
	}

	public void setClauses(String clauses) {
		this.clauses = clauses;
	}

	public String getBeforeContent() {
		return beforeContent;
	}

	public void setBeforeContent(String beforeContent) {
		this.beforeContent = beforeContent;
	}

	public String getCenterContent() {
		return centerContent;
	}

	public void setCenterContent(String centerContent) {
		this.centerContent = centerContent;
	}

	public String getAfterContent() {
		return afterContent;
	}

	public void setAfterContent(String afterContent) {
		this.afterContent = afterContent;
	}

}
